package com.danskin.wechat.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.WxMaterialInfo;
import com.danskin.wechat.entity.example.WxMaterialInfoExample;

public interface WxMaterialInfoDao {
    int countByExample(WxMaterialInfoExample example);

    int deleteByExample(WxMaterialInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxMaterialInfo record);

    int insertSelective(WxMaterialInfo record);

    List<WxMaterialInfo> selectByExample(WxMaterialInfoExample example);

    WxMaterialInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxMaterialInfo record, @Param("example") WxMaterialInfoExample example);

    int updateByExample(@Param("record") WxMaterialInfo record, @Param("example") WxMaterialInfoExample example);

    int updateByPrimaryKeySelective(WxMaterialInfo record);

    int updateByPrimaryKey(WxMaterialInfo record);
}